package com.tensquare.qa.client;

import constants.StatusCode;
import dto.ResultDTO;
import org.springframework.stereotype.Component;

@Component
public class LabelClientImpl implements LabelClient{

    @Override
    public ResultDTO listById(String id) {
        System.out.println("调用了熔断器LabelClientImpl");
        return new ResultDTO(false, StatusCode.ERROR,"远程调用失败，熔断器启动了");
    }
}
